<template>
  <div class="not-found">
    <div class="content">
      <h1>404</h1>
      <h2>页面未找到</h2>
      <p>抱歉，您访问的页面不存在</p>
      <router-link to="/dashboard">
        <el-button type="primary">返回首页</el-button>
      </router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: 'NotFound'
}
</script>

<style scoped>
.not-found {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f2f5;
}

.content {
  text-align: center;
}

h1 {
  font-size: 6rem;
  margin: 0;
  color: #409EFF;
}

h2 {
  font-size: 2rem;
  margin-top: 0;
  color: #303133;
}

p {
  margin: 20px 0;
  color: #606266;
}
</style> 
 